package com.onesports.intelligent.k12.polarlight.data.permission;

import net.sf.jsqlparser.expression.Expression;
import net.sf.jsqlparser.statement.select.PlainSelect;

/**
 * @author aj
 */
public interface DataPermissionHandler {
    /**
     * 获取sql片断
     * @param plainSelect
     * @param mappedStatementId
     * @return
     */
    Expression getSqlSegment(PlainSelect plainSelect, String mappedStatementId);
}
